package com.dingyx.ps.feign.api;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dingyx.ps.model.ReturnT;
import com.dingyx.ps.model.entity.BnContract;
import com.dingyx.ps.model.thirdpart.BnContractParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 库内服务 Feign-Client
 *
 * @author WangRuiJie
 * @className InsideFeignService
 * @date 2020/8/10 10:03
 */
@FeignClient("xianniu-order")
public interface OrderFeignService{

    /**
     * 分页查询合同列表
     * @return
     */
    @PostMapping("bnContract/pageList")
    ReturnT<IPage<BnContract>> pageList(@RequestBody BnContractParam param);
}
